<?
/*
Bitsand - a web-based booking system for LRP events
Copyright (C) 2006, 2007 Russell Peter Phillips

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

----------------------------------------------------------------------

This is the config file for Bitsand, a web-based booking system for LRP events.
The following lines set variables and/or constants.
Editing these values configures the booking system.
The comments should indicate what the different values are used for.
*/

//For each of these, the value is either True or False. It is True if bookings are allowed, False if not
define ('ALLOW_PLAYER_BOOKINGS', True);
define ('ALLOW_MONSTER_BOOKINGS', True);
define ('ALLOW_STAFF_BOOKINGS', True);

//An announcement can be defined here. HTML is allowed
$strAnnounce = "";

//Contact details
define ('CONTACT_NAME', '');
define ('CONTACT_MAIL', '');
//Title for HTML pages
define ('TITLE', '');
//MySQL hostname
define ('DB_HOST', 'localhost');
//Name of MySQL database
define ('DB_NAME', '');
//MySQL user name & password. User must have SELECT, INSERT & UPDATE privileges
define ('DB_USER', '');
define ('DB_PASS', '');
//Default faction - this faction will be selected in the drop-down list on the IC booking form
define ('DEFAULT_FACTION', 'Lions');
//Maximum character points for a character
define ('MAX_CHAR_PTS', 17);
//Maximum character points for an NPC
define ('MAX_NPC_PTS', 21);
//Prefix for player ID. Player ID will be this prefix followed by a number
define ('PID_PREFIX', '');
//Login timeout in minutes. If user does not request a page in this many minutes, they will have to re-login
define ('LOGIN_TIMEOUT', 20);

//Log files. These must be writeable by the web server.
//One file can be used for both if desired - just specify the same file name for both constants
define ('WARNING_LOG', '/dev/null');
define ('ERROR_LOG', '/dev/null');

//The following items are used for encryption. For each one, use a long (16+ chaacters) string of random characters.
//Do not use an intelligible phrase or word. Do not use single or double quote marks (' or ")
//Key for encryption of OOC data
define ('CRYPT_KEY', '');
//Password salt
define ('PW_SALT', '');
?>
